package com.touchwp.java.wechat.converter;

import java.io.IOException;
import java.io.Writer;

import com.sun.xml.internal.bind.marshaller.CharacterEscapeHandler;

/**
 * @author yuki
 *
 */
public class NoCharacterEscapeHandler implements CharacterEscapeHandler {

	public NoCharacterEscapeHandler() {
	}

	@Override
	public void escape(char[] ch, int start, int length, boolean isAttVal, Writer writer) throws IOException {
		writer.write(ch, start, length);
	}

}
